package com.cysoft.domain;

import org.optaplanner.core.api.domain.entity.PlanningEntity;

/**
 * 模具
 */
public class Mold extends AbstractPersistable {
    String name;
    long taskId;

    /**
     * 0 普通模具；1 减重模具优先
     */
    int type;

    /**
     * 模具尺寸，22寸
     */
    int size;

    String wheelCode;

    public Mold() {
    }

    public Mold(long id,String name, int type, int size) {
        super(id);
        this.name = name;
        this.type = type;
        this.size = size;
    }

    public Mold(long id,String name, int type, int size, String wheelCode) {
        super(id);
        this.name = name;
        this.type = type;
        this.size = size;
        this.wheelCode = wheelCode;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getWheelCode() {
        return wheelCode;
    }

    public void setWheelCode(String wheelCode) {
        this.wheelCode = wheelCode;
    }

    public long getTaskId() {
        return taskId;
    }

    public void setTaskId(long taskId) {
        this.taskId = taskId;
    }
}
